let vm = new Vue({
    el: '#userShowPanel',
    data: {
        userInfo: {},
        active: 1
    },
    methods: {
        blog() {
            if (this.active == 1) {
                return;
            }
            this.active = 1;

        },
        QA() {
            if (this.active == 2) {
                return;
            }
            this.active = 2;

        },
        Reply() {
            if (this.active == 3) {
                return;
            }
            this.active = 3;

        }
    }
})

function hq() {
    axios({
        url: "/userinfo/information",
        method: 'get'
    }).then(function (resp) {
        let data = resp.data.data;
        console.log(data);
        vm.userInfo = data;
    })
}

hq();

